package com.haimi.shiguang.utils;

import java.math.RoundingMode;

/**
 * RoundConfig
 * Created by virgil on 16/7/25.
 */
public class RoundConfig {
    public static int ROUND_QUANTITY = 0;//'数量」圆整小数位数'
    public static int ROUND_SINGLE_PRICE = 2;//'「单价」圆整位数到','0=元/ 1=角/ 2=分'
    private static int ROUND_SUB_TOTAL = 2;// '「金额小计」圆整位数到','0=元/ 1=角/ 2=分'
    public static int ROUND_TOTAL = 2;//  '「总额」圆整位数计算到','0=元 / 1=角 / 2=分'
    public static RoundingMode Decimal_ROUND_Type = RoundingMode.HALF_UP;//  '小数位处理方式','1=四舍五入/ 2=舍去 / 3=进位'
    private static int ROUND_ORDER_TYPE = 1;//  '帐单圆整方式','1=按总额 / 2=按小计'
}
